Repository navigation
feat(web): drag replies, launchers, links, and PR or issue rows to panes - #276
Open
orbitingflea wants to merge 1 commit into
Open
orbitingflea wants to merge 1 commit into
orbitingflea wants to merge 1 commit into
Conversation
|
This PR changes the test suite by +37 test cases (browser +35, unit +2, server 0). New browser test files: Keep tests that would fail for a real reason, and test logic below the UI where it can be. See Testing. |
Thread transfer impact
This comment will update automatically after the next completed run. |
orbitingflea
force-pushed
the
feat/fullscreen-panels-drag-all
branch
from
November 24, 2026 11:51
7830462 to
bf01ea5
Compare
orbitingflea
force-pushed
the
feat/fullscreen-panels-drag-all
branch
3 times, most recently
from
November 24, 2026 22:50
d93bb04 to
8132f02
Compare
orbitingflea
force-pushed
the
feat/fullscreen-panels-drag-all
branch
from
November 24, 2026 23:48
8132f02 to
706c664
Compare
orbitingflea
force-pushed
the
feat/fullscreen-panels-drag-all
branch
from
November 25, 2026 01:25
706c664 to
3adf04f
Compare
Anything whose click opens a work-area tab can now be dragged onto a pane or tab strip and opens there, through the existing panel-link drop: Reply buttons and Replies list rows, the pane "+" menu and empty-pane launcher items (Device only once set up; Chat places the primary Chat at the drop), Dashboard web links (into the preview browser, as chat web links), and pull request and issue rows in Linked items and Thread details (their tab, or the preview browser where the click opens a browser). Each source builds its PanelLink from its own click opener and predicate. A thread chip now drags only where its click opens a tab: a thread of the same project as a Chat tab, or a side chat of the panel's own thread. Another project's thread no longer falls back to a side-thread pane attached to this thread's workspace. Sidebar rows already used the same check; a real-pointer regression test now covers them. Also: `opensChat` becomes `composer`; async "+" opens (Browser, Side chat) return their promise so a newer click still cancels the drop's place; a release over an open menu is ignored; a user open of a surface that is already shown, or an async "+" open that settles without its tab, ends the "+" menu pick instead of leaving the pane armed (a sync open such as Device setup keeps it); under a live drop a "+" or launcher open adds no pick or launcher place of its own, so an overtaken drop lands where the user's newer action put the focus; the "+" menu closes when the drag ends, however it ends; a dropped link whose open joins the pane already holding its tab keeps the tab in its slot, as its click does; a web link outside chat drags for any HTTP or HTTPS URL, as its click opens any, opens the URL its click resolves to, and joins the project's browser history when it opens in the preview browser, as a chat link does; the Device item's drag checks setup when it starts and again at the drop, where it opens nothing once setup is needed. Every link drop still plans with the stand-in tab. Tests: the drag tests live in workAreaDrag.browser.test.tsx and use a fork-only helper, dragTestEnvironment.ts, that answers the shell and side chat fork commands through answerRpc; the shared fixture fakeEnvironment.ts is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
orbitingflea
force-pushed
the
feat/fullscreen-panels-drag-all
branch
from
November 25, 2026 06:53
3adf04f to
e34f723
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Behaviour change
Behaviour change: yes, full-screen panels prototype users can drag Chat-mode reply buttons, Replies rows, pane "+" items, empty-pane launchers, Dashboard web links, and pull request or issue rows onto panes or strips to open them. Other-project thread links do not drag into the work area.
Why
Match drag to click in the work area. Files rows, chat file chips and links, thread chips, Dashboard chat chip, and sidebar thread rows already dragged. Other tab controls did not. Other-project thread chips fell back to a side pane on this thread's workspace, diff, and terminal.
What changed
Details
Implementation
PanelLinkrenamesopensChattocomposer(width), holds drag-end "+" close callback.apps/web/src/fork/,workArea/:linkSources.ts(threadChipPanelLink,replyPanelLink,surfaceActionPanelLink,previewLinkPanelLink),chatAnchorLink.ts(useWebPanelLink, pull request, issue rows),chatOpenerContext.ts(threadTabPanel),panelLinkDrag.ts(panelDragProps).rightPanelMenu/:rightPanelMenu.tsx(useSurfaceActionDrag, Device on start and drop),menu.logic.ts(Device setup).WorkArea.tsxusesLINK_PROBE(linkDrop.logic.ts).useLinkDrops.ts,dropPlan.logic.tsignore open-menu targets only.workAreaPlacement.logic.tskeeps same-pane slots on link drops only, clears shown picks.workAreaCommands.tsopenFromPaneMenureturns result, clears empty async picks (fixes plain "+" clicks).Scope
RightPanelTabs.tsx,ThreadDetailsIssueRows.tsx(1 fork hook),ThreadPullRequestsPanel.tsx(1 capture prop),ChatView.tsx(1 line),useRightPanelActions.ts(Browser promise),ThreadDetailsPrRow.tsx,ThreadDetailsPrRows.tsx(row drag to open button).sideChatPane.tsdrops 1 export.apps/web/test/fakeEnvironment.ts): 0 lines changed. Drag tests use a fork-only helper (dragTestEnvironment.ts) and fork-only test file (workAreaDrag.browser.test.tsx) inapps/web/src/fork/workArea/.board://,t3-thread://links, Browser profiles, sidebar hover-card issue rows (switches threads).Tradeoffs
board://,t3-thread://links stay dead until click opens a tab.Blast Radius
Web client only. No server, contract, data, stored-state, or UI text changes. Revert to undo.
Verification